package com.ruoyi.follow_live.mapper;

import java.util.List;
import com.ruoyi.follow_live.domain.FollowLiveRoom;

/**
 * 关注直播间Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-08
 */
public interface FollowLiveRoomMapper 
{
    /**
     * 查询关注直播间
     * 
     * @param id 关注直播间主键
     * @return 关注直播间
     */
    public FollowLiveRoom selectFollowLiveRoomById(Integer id);

    /**
     * 查询关注直播间列表
     * 
     * @param followLiveRoom 关注直播间
     * @return 关注直播间集合
     */
    public List<FollowLiveRoom> selectFollowLiveRoomList(FollowLiveRoom followLiveRoom);

    /**
     * 新增关注直播间
     * 
     * @param followLiveRoom 关注直播间
     * @return 结果
     */
    public int insertFollowLiveRoom(FollowLiveRoom followLiveRoom);

    /**
     * 修改关注直播间
     * 
     * @param followLiveRoom 关注直播间
     * @return 结果
     */
    public int updateFollowLiveRoom(FollowLiveRoom followLiveRoom);

    /**
     * 删除关注直播间
     * 
     * @param id 关注直播间主键
     * @return 结果
     */
    public int deleteFollowLiveRoomById(Integer id);

    /**
     * 批量删除关注直播间
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFollowLiveRoomByIds(String[] ids);
}
